package spring.boot.shiro.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import spring.boot.shiro.entity.Permission;

/**
 * Created by Administrator on 2018/6/10.
 */
public interface PermissionRep extends JpaRepository<Permission,Integer> {
    Permission findByName(String name);

}
